package boogui.member;

import java.awt.BorderLayout;
import java.awt.FlowLayout;

import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JPanel;
import javax.swing.border.EmptyBorder;
import javax.swing.BoxLayout;
import javax.swing.ImageIcon;
import java.awt.event.ActionListener;
import java.awt.event.ActionEvent;

public class S_AboutDialog extends JDialog {

	/**
	 * Launch the application.
	 */
	/*public static void main(String[] args) {
		try {
			S_AboutDialog dialog = new S_AboutDialog();
			dialog.setDefaultCloseOperation(JDialog.DISPOSE_ON_CLOSE);
			dialog.setVisible(true);
		} catch (Exception e) {
			e.printStackTrace();
		}
	}
*/
	/**
	 * Create the dialog.
	 */
	public S_AboutDialog() {
		setModal(true);
		setTitle("부귀영화");
		setBounds(100, 100, 508, 330);
		setLocationRelativeTo(null);
		setResizable(false);
		getContentPane().setLayout(new BorderLayout());
		{
			JButton btnNewButton = new JButton("");
			btnNewButton.addActionListener(new ActionListener() {
				public void actionPerformed(ActionEvent e) {
					setVisible(false);
					dispose();
				}
			});
			btnNewButton.setBorderPainted(false);
			btnNewButton.setRolloverEnabled(false);
			btnNewButton.setIcon(new ImageIcon(S_AboutDialog.class.getResource("/images/about.png")));
			getContentPane().add(btnNewButton, BorderLayout.CENTER);
		}
		setVisible(true);
	}

}
